/**
 * This file is part of Virtual Environment Tutoring Engine (VETE).
 * Copyright (C) 2011 Iowa State University.
 *
 * VETE is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 **/
 
public class Bomb extends NonLiving{

	String diffused;
	String exploded;
	
	boolean isDiffused() {
		if(diffused.equals("1"))
			return true;
		else
			return false;
	}
	boolean isExploded() {
		if(exploded.equals("1"))
			return true;
		else
			return false;
	}
	
	Bomb(String l_entityID, String[] l_location, String l_diffused, String l_exploded) {
		super.entityID = l_entityID;
		super.location = l_location;
		this.diffused = l_diffused;
		this.exploded = l_exploded;
	}
}
